package com.hiwan.system.service.facereco;

import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;

import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hiwan.system.dao.facereco.FaceRecoDao;
import com.hiwan.system.dao.sequence.SeqDao;
import com.hiwan.system.dao.user.UserDao;
import com.hiwan.system.pojo.EntryInfo;
import com.hiwan.system.pojo.UserInfo;
import com.hiwan.system.util.DateUtil;
import com.hiwan.system.util.UUIDUtil;
import com.hiwan.wechat.enumeration.CorpAppInfoEnum;
import com.hiwan.wechat.service.PublishMessageService;
import com.hiwan.wechat.service.WechatService;
import com.hiwan.wechat.util.WechatRequestUrl;

@Service
@Transactional
@Lazy(value=false)
public class FaceRecoService {
		
	@Autowired
	private FaceRecoDao faceRecoDao;
	
	
	/**
	 * 插入录入信息
	 * @param entryInfo
	 * @return
	 */
	public int insertEntryInfo(EntryInfo entryInfo){
		return faceRecoDao.insertEntryInfo(entryInfo);
	}
	
	/**
	 * 查询录入信息
	 * @param entryInfo
	 * @return
	 */
	public EntryInfo selectEntryInfo(EntryInfo entryInfo){
		return faceRecoDao.selectEntryInfo(entryInfo);
	}
	
	/**
	 * 查询录入信息列表
	 * @param entryInfo
	 * @return
	 */
	public List<EntryInfo> selectEntryInfoList(EntryInfo entryInfo){
		return faceRecoDao.selectEntryInfoList(entryInfo);
	}
	/**
	 * 查询录入信息列表
	 * @param entryInfo
	 * @return
	 */
	public List<EntryInfo> selectEntryInfoListPage(EntryInfo entryInfo){
		return faceRecoDao.selectEntryInfoListPage(entryInfo);
	}
	/**
	 * 查询录入信息列表
	 * @param entryInfo
	 * @return
	 */
	public int updateLoanContract(EntryInfo entryInfo){
		return faceRecoDao.updateLoanContract(entryInfo);
	}
	
	
}